import yaml
import Server


if __name__ == '__main__':
    f = open("./config.yml", 'r', encoding="utf-8")
    config = yaml.safe_load(f)
    f.close()
    server = Server.server(config=config)
    app = server.getApp()
    server.run("0.0.0.0", 6600, False)
